package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "库存变化请求体")
@Data
public class GoodsInventoryChangePageRequest extends TimeAreaRequest {
    @Schema(description = "商户id", example = "1")
    private Long merId;

    @Schema(description = "门店id", example = "1")
    private Long shopId;

    @Schema(description = "用户id", example = "1")
    private Integer userId;

    @Schema(description = "添加类型", example = "1")
    private Integer addType;

    @Schema(description="添加类型的下限：如果查所有，传-1",example="-1")
    private Integer addTypeFloor;

    @Schema(description = "减少类型", example = "1")
    private Integer lossType;

    @Schema(description="减少类型的下限：如果查所有，传-1",example="-1")
    private Integer lossTypeFloor;

    @Schema(description="减少类型的上限：如果查所有，传5",example="-1")
    private Integer lossTypeCeil;

    @Schema(description="商品id", example = "1")
    private Integer goodsId;

    @Schema(description="商品规格id", example = "1")
    private Integer goodsSizeId;

    @Schema(description="供应商id", example = "1")
    private Integer supplyId;

    @Schema(description="供应商名称",example="供应商名称")
    private String supplyName;

    @Schema(description="损耗到的对象",example="xx门店")
    private String lossToInfo;

    @Schema(description="损耗到的对象模糊搜索字段",example="xx门店")
    private String lossToInfoLike;

    @Schema(description = "分页参数-当前页码",example = "1")
    private int pageNo = 1;

    @Schema(description = "分页参数-分页大小",example = "20")
    private int pageSize = 20;


}
